package com.baizhi.cmfzdemo.dao;

import com.baizhi.cmfzdemo.entity.CmfzAlbum;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by 54433 on 2019/4/7.
 */
public interface CmfzAlbumDao {
    //分页展示所有的数据
    public List<CmfzAlbum> queryAllAlbum(@Param("page") int page, @Param("rows") int count);
    //获取总数量
    public int getCount();

    //批量删除
    public void deleteAlbum(int[] ids);

    //修改
    public void updateAlbum(CmfzAlbum CmfzAlbum);

    public List<CmfzAlbum> queryAllAlbumTree();

    //添加
    public void addAlbum(CmfzAlbum cmfzAlbum);

    List<CmfzAlbum> showAllCmfzAlbum();
}
